str1="""
120*105*128*3
120*105*106*1
"""

def specs_handler(specs:str, volume:str="18.5"):
    result = ""
    spec_arr= []
    tray_arr = []
    for index,s in enumerate(specs.split()):
        if s:
            spec_arr.append(s+" PLTS")
            tray_arr.append("OVER PACK USED#"+str(index+1))
    trays = " ".join(tray_arr)
    specs = "\n".join(spec_arr)
    result = """{{specs}}
V: {{volume}}CBM

NOT RESTRICTED LITHIUM ION
BATTERIES IN COMPLIANCE WITH 
SECTION II OF PI 967

{{trays}}
"""
    result = result.replace("{{specs}}",specs).replace("{{volume}}",volume).replace("{{trays}}",trays).strip()
    return result

if __name__ == '__main__':
    print(specs_handler(str1))